import axios from 'common/js/axios';

// 获取歌曲详情
export function getSongDetail(ids) {
  let data = { ids };
  return axios.get('/song/detail', { params: data });
}

// 获取歌曲 播放地址
export function getSongUrl(id) {
  let data = { id };
  return axios.get('/song/url', { params: data });
}

// 获取歌曲 歌词
export function getLyric(id) {
  let data = { id };
  return axios.get('/lyric', { params: data });
}
